Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(rust): Dispatch ChunkedArray serialization to Series (IPC) serialization #21422

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

nameexhaustion
Copy link
Collaborator

Fully removes older serialization code for ChunkedArrays - they were no longer used since we moved to using IPC for serde.

Note that we don't directly call serialize on ChunkedArrays internally at all - it can be completely removed, but I have made it a dispatch instead in case there were Rust library users dependent on this.

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Feb 23, 2025
@nameexhaustion nameexhaustion changed the title refactor(rust): Dispatch ChunkedArray serialize to Series refactor(rust): Dispatch ChunkedArray serialization to Series (IPC) serialization Feb 23, 2025
Copy link

codecov bot commented Feb 23, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.01%. Comparing base (5b48926) to head (92067c3).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
crates/polars-core/src/serde/chunked_array.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21422      +/-   ##
==========================================
+ Coverage   79.96%   80.01%   +0.04%     
==========================================
  Files        1597     1597              
  Lines      229115   228999     -116     
  Branches     2618     2618              
==========================================
+ Hits       183222   183227       +5     
+ Misses      45294    45173     -121     
  Partials      599      599              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nameexhaustion nameexhaustion marked this pull request as ready for review February 24, 2025 04:55
@ritchie46
Copy link
Member

Nice one.

@ritchie46 ritchie46 merged commit dd28134 into pola-rs:main Feb 24, 2025
24 checks passed
@c-peters c-peters added the accepted Ready for implementation label Feb 24, 2025
anath2 pushed a commit to anath2/polars that referenced this pull request Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement rust Related to Rust Polars
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants